package com.zhigh.test.testuinit.sty.guava;

import com.google.common.eventbus.AllowConcurrentEvents;
import com.google.common.eventbus.DeadEvent;
import com.google.common.eventbus.Subscribe;

public class EventRecord<T extends CharSequence> {
    @Subscribe
    public void recordCustomerChange(T info) {
        System.out.println(info);
    }

    @Subscribe
    @AllowConcurrentEvents
    public void deadEvent(DeadEvent deadEvent) {
        System.out.println(deadEvent);
        System.out.println(deadEvent.getEvent());
        System.out.println(deadEvent.getSource());
    }
}
